import 'package:flutter/material.dart';

void main() =>runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return   MaterialApp(
      title: "sdfserqgdf",
      home: Scaffold(
        appBar: AppBar(
          title: Text("x"),
        ),
        body: Center(
          child: Container(
            child: Image.network('https://i0.hdslb.com/bfs/archive/965d70acdeabf52dfb015059657e8298858a061f.jpg',
fit: BoxFit.contain,

            ),
            width: 500,
            height: 300,
            color: Colors.lightBlue,
            margin: EdgeInsets.all(50.0),
            padding: EdgeInsets.all(10.0),
          ) ,
        ),
      ),
    );
  }
}
